package cn.itsource.blog.service;


import cn.itsource.blog.domain.ArticleType;
import cn.itsource.blog.query.ArticleTypeQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IArticleTypeService {

    void add(ArticleType articleType);

    void delete(Long id);

    ArticleType get(Long id);

    List<ArticleType> getAll();

    void delPatch(Long[] ids);

    PageInfo<ArticleType> pageInfo(ArticleTypeQuery articleTypeQuery);

    void updata(ArticleType articleType);

    List<ArticleType> getTypeTree();
}
